import createModulePage from "../../../components/modulepage/index";
import { KxAppModule } from "../module";

import { KxAppModal } from "../../../components/modal/index";
import { AuiInputDaterange } from "../../../../ui/form/input-daterange.component";
import { KxAppGrid } from "../../../components/grid/grid.component";
import { KxAppGridItem } from "../../../components/grid/grid-item.component";
import { KxAppCrmOrdersearch } from "../components/ordersearch/index";

import { compnentName } from "./variable";

import "../../../../assets/css/admin/modules/demo/form.css";

class Module extends KxAppModule {
    constructor(name) {
        super(name);       
    }   
}

KxAppModal.install();
AuiInputDaterange.install();
KxAppGrid.install();
KxAppGridItem.install();
KxAppCrmOrdersearch.install();
window.AUICustomComponents.define(compnentName, Module);

var subpage = createModulePage(
    `<${compnentName}></${compnentName}>`
);

export default subpage;